package com.OrderingSystem.controller.buyer;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/sell")
public class SellerInfoController {

    @GetMapping("/json/sellJson")
    public String sellJson() {
        return "/seller.json";
    }

    @GetMapping("/json/ratingJson")
    public String ratingsJson() {
        return "/ratings.json";
    }
}
